import {Input, Layout} from "@ui-kitten/components";
import React from 'react';
import {PasswordInput} from './PasswordInput'


export  const LoginForm = () => {

    const [value, setValue] = React.useState('');

    return (
        <Layout style={{alignItems: 'center',margin:20,justifyContent:'space-evenly'}}>
            <Input
                label='用户名：'
                placeholder='请输入用户名'
                value={value}
                onChangeText={nextValue => setValue(nextValue)}
            />
            <PasswordInput/>

        </Layout>
    );
};
